<style scoped>
  .expand-row{
    margin-bottom: 16px;
  }
  .lyx-table-btn{
    margin-right: 5px;
    margin-bottom: 2px;
  }
</style>
<template>
  <div>
    <Modal v-model="modalDate.itemInfoFormShow" :title="modalDate.itemInfoFormTitle"
           width="700" :closable="false">
      <Form label-position="right" :label-width="100" style="position: relative;" :model="modalDate.formDate">
      <Row class="mb20">
        <Col span="13" class="ivu-form-item-label" style="font-weight: 500">变更家庭信息</Col>
      </Row>
      <Row class="mb20">
        <Col span="10" class="ivu-form-item-label">档案编号：</Col>
        <Col span="6" class="ivu-form-item-content">
          <Input v-model="modalDate.formDate.name" ></Input>
        </Col>
      </Row>
      <Row class="mb20">
        <Col span="10" class="ivu-form-item-label">申请人姓名：</Col>
        <Col span="6" class="ivu-form-item-content">
          <Input v-model="modalDate.formDate.name" ></Input>
        </Col>
      </Row>
      <Row class="mb20">
        <Col span="10" class="ivu-form-item-label">申请人身份证号：</Col>
        <Col span="6" class="ivu-form-item-content">
          <Input v-model="modalDate.formDate.age" ></Input>
        </Col>
      </Row>
      <Row class="mb20">
        <Col span="13" class="ivu-form-item-label" style="font-weight: 500">变更申请</Col>
      </Row>
      <Row class="mb20">
        <Col span="10" class="ivu-form-item-label">变更原因说明：</Col>
        <Col span="6" class="ivu-form-item-content">
          <Input v-model="modalDate.formDate.committeeChangeReason" type="textarea" :rows="4" placeholder="" />
        </Col>
      </Row>
      <Row class="mb20">
        <Col span="10" class="ivu-form-item-label">请选择该家庭基本信息开始变化月份：</Col>
        <Col span="6">
          <Input v-model="modalDate.formDate.changeMonth" ></Input>
        </Col>
      </Row>
      <Row class="mb20">
        <Col span="10" class="ivu-form-item-label">社区变更操作人：</Col>
        <Col span="6">
          <Input v-model="modalDate.formDate.committeeChangeHandler" ></Input>
        </Col>
      </Row>
    </Form>
    </Modal>
  </div>
</template>
<script>
// import { itemParamByOrderList } from '@/api/eventlist'
export default {
  name: 'Modal1',
  data () {
    return {
      bwk: '0',
      paramsArr: [],
      list: []
    }
  },
  props: {
    modalDate: {
      itemInfoFormTitle: '',
      itemInfoFormShow: false,
      formDate: {
        name: ''
      }
    }
  },
  mounted () {
    // this.rowList()
  },
  watch: {
    // params (ret) {
    //   console.log(ret)
    // }
  },
  methods: {
    // async rowList () {
    //  let params = this.params
    //  let temp = []
    //  temp.push({ type: 'info', size: 'small', c: 1, data: params.row, name: '进度' })
    //  if (params.row.state === '2') {
    //    temp.push({ type: 'info', size: 'small', c: 2, data: params.row, name: '打印通知单' })
    //  }
    //  if (params.row.form_url) {
    //    temp.push({ type: 'info', size: 'small', c: 6, data: params.row, name: '打印表格' })
    //  }
    //  let action1 = evil('(' + params.row.action + ')')
    //  for (let key in action1) {
    //    if (action1[key].type === 'button' && action1[key].next_process_id === '-1') {
    //      let key1 = ''
    //      let key2 = ''
    //      let acs = 3
    //      if (action1[key].params_type) {
    //        key1 = action1[key]
    //        key2 = key
    //        acs = 3
    //      } else {
    //        key1 = key
    //        key2 = action1[key]
    //        acs = 4
    //      }
    //      temp.push({ type: 'success', size: 'small', c: acs, data: { data: params.row, key1: key1, key2: key2 }, name: action1[key].name })
    //    }
    //  }
    //  if (params.row.params && params.row.params !== '{}') {
    //    let param = { id: params.row.item_id, code: params.row.code }
    //    let ax = await itemParamByOrderList(param)
    //    this.paramsArr = ax.data.data
    //    for (let i = 0; i < this.paramsArr.length; i++) {
    //      if (this.paramsArr[i].write_type === 'images') {
    //        temp.push({ type: 'info', size: 'small', c: 5, data: this.paramsArr[i].img_url, name: '查看' + this.paramsArr[i].name })
    //      }
    //    }
    //  }
    //  this.list = temp
    // },
    // async abc () {
    //   let a = await itemParamByOrderList({})
    //   console.log(a, '执行节藕')
    //   this.bwk = a.data
    //   this.$emit('run', { a: 1 })
    // },
    // goRun (type, data) {
    //  this.$emit('breachRun', type, data)
    // }
  }
}
</script>
